
var wmtsUrl;
var wmsurl;
var layer="基础底图";
var matrixSet;
var projection;
var wkid;
var dpi;
var format;
var format2;
var minx;var miny;var maxx;var maxy;
var centerX ;var centerY ;
var centerLng ;var centerLat ;
var originX = -180;var originY = 90;
var resolutions = [];var matrixIds = [];var scales = [];var layerIds = [] ;
var mapBounds = new SuperMap.Bounds(103.94624023438,27.599926757813,110.79072265626,32.565747070313);
wmsurl = "http://10.230.124.121:6080/arcgis/services/CQ/mapofcq/MapServer/WMSServer?";
resolutions=[0.351562499999999,0.17578125,0.0878906250000001,0.0439453124999999,0.02197265625,0.010986328125,0.00549316406250001,0.00274658203125,0.001373291015625,0.000686645507812499,0.00034332275390625,0.000171661376953125,0.0000858306884765624];
scales=[139770566.007179,69885283.0035897,34942641.5017949,17471320.7508974,8735660.37544871,4367830.18772436,2183915.09386218,1091957.54693109,545978.773465545,272989.386732772,136494.693366386,68247.3466831931,34123.6733415965];
format= 'image/png';
projection='EPSG:4326';
matrixSet = 'AZMap_AZDBMap';
minx=105.09521484375; miny=28.0138013763807; maxx=110.313720703125; maxy=32.3057060138943;
minx2=105.09521484375; miny2=28.0138013763807; maxx2=110.313720703125; maxy2=32.3057060138943;
centerX = 0; centerY = 0;
centerLng = 106.8368; centerLat = 33.231954;
wkid=4326;
dpi= 90.7142857142857;
originX = -180; originY = 90;
for(var i= 0;i<13;i++){
    matrixIds[i]={identifier:i+2};
    layerIds[i]=i+2;
}

function bbtMap() {
    layer = '基础底图';
    wmsurl = "http://172.24.176.179:6080/arcgis/services/CQ/cqmap3/MapServer/WmsServer?";
}

function tdtjdMap() {
    layer = 'AZDBMap';
    wmtsUrl='http://172.24.176.179:9009/arctiler/ogc/services/cq_tdtjd/WMTS';
}

//天地图卫星
function tdtwx() {
    layer = 'AZDBMap';
    wmtsUrl='http://172.24.176.179:9009/arctiler/ogc/services/cq_tdtwx/WMTS';
}

//天地图地形
function tdtdx() {
    layer = 'AZDBMap';
    wmtsUrl='http://172.24.176.179:9009/arctiler/ogc/services/cq_tdtdx/WMTS';
}
